<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
		<title>s60 Test</title>
		<script type="text/javascript" src="../lib/jquery/jquery.js"></script>
	</head>
	<body>
		<h1>s60 Test</h1>
		<div class="result">
			<h2>Result</h2>
		</div>
		<div class="result">
			<h2>Result</h2>
		</div>
		<div class="result"></div>
		<div class="result"></div>
		<div class="result">
			<h2>Result</h2>
		</div>
		<div class="result"></div>
		<div class="result"></div>
		<script type="text/javascript">
		<!--
		jQuery.fn.extend({
			plainHtml2: function(val) {
				if ( val == undefined ) 
					return ( this[0] ? this[0].innerHTML : null );
				
				else {
					var val = val.toString();
					this.each(function() {
						this.innerHTML = val;
					});
					return this;
				}
			}
		});
		jQuery(function($) {
			$(".result").plainHtml2("Redefine #result");
		})
		-->
		</script>
		
	</body>
</html>